package com.yanrumiao.enumns;

import cc.uncarbon.framework.core.enums.HelioBaseEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
 * @author: yanrongming
 * @date: 2022/04/01
 * @description:订单状态枚举
 */
@AllArgsConstructor
@Getter
public enum OrdersStatusEnum implements HelioBaseEnum<Integer> {
    ORDER_ALL(-1, "全部"),
    ORDER_NOPAY(0, "待付款"),
    ORDER_PAY(1, "待预约"),
    ORDER_REFUND(9, "已退款"),
    ORDER_CLOSE(10, "已取消"),
    ORDER_DYY(20, "待服务"),
    ORDER_DFW(30, "待评价"),
    ORDER_YWC(50, "已完成"),

   ;
    @EnumValue
    private final Integer value;
    private final String label;

}
